package com.xwj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * @author xwj
 * @date 2020/3/26
 * windows启动报错：org.apache.kafka.common.errors.TimeoutException: Expiring 1 record(s) for xwj-topic-1-0: 30906 ms ha
 * 修改hosts文件
 */
@SpringBootApplication
@EnableAsync
public class KafkaDemoApplication {
    public static void main(String[] args) {
        SpringApplication.run(KafkaDemoApplication.class, args);
    }
}
